/*
{
"状态":1,
"名称":"新增-数据库表信息",
"作者":"陈泽椿",
"创建时间":"2018-07-17",
"功能":"新增-数据库表信息",
"log": [
	{"date":"06-01" , "dev" :"hzhh" , "content" : ""}
]
}
*/
declare @table_name varchar(100),@describe varchar(100),@project varchar(100)

set @table_name = '{table_name}'
set @describe = '{describe}'
set @project = '{project}'

--校验信息
if isnull(@table_name,'')=''
begin 
	RAISERROR ('SQL:数据库表名称不允许为空', 16 ,1 ) ; 
	return 
end 

if isnull(@project,'')=''
begin 
	RAISERROR ('SQL:项目名称不允许为空', 16 ,1 ) ; 
	return 
end 

INSERT INTO [dbo].[y_table]([table_name],[describe],[project],[create_time])
VALUES( @table_name , @describe  , @project , getdate())

